<!-- exp_15_2.html -->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
		<head>
				<meta charset="UTF-8">
				<title>显示列表项的内容</title>				
				<script type="text/javascript">						  
						function disaplayItem(){
						   var strInfo=""  //存放显示信息
							 var indexvalue=myform.mysel.selectedIndex;
               strInfo="教材名称："+myform.mysel.options[indexvalue].text+"\n定价：";
							 strInfo+=myform.mysel.options[indexvalue].value;							 
							 alert(strInfo);
						}
				</script>	
	</head>
		<body>
		<div  style="width:100%;text-align:center">
		    <h3>显示列表项的内容</h3>
				<form name="myform" method="post" action="">
					<select name="mysel"  size="5" onchange="disaplayItem()">
						<option value="35元" selected>计算机组成原理
						<option value="38元">数据结构
						<option value="43元">计算机网络
					</select>
				 </form>
			<tr>

				<input style="background-color: blanchedalmond " type="button" value="抽奖随机价格购书活动" width="5" onclick="javascrtpt:window.location.href='BookBuyActivity'" />
			</tr>
			<tr>
				<input style="background-color: palegreen" type="button" value="查看计算机组成原理图片" onclick="javascrtpt:window.location.href='bookImgShow'" />
				<input style="background-color: palegreen" type="button" value="查看数据结构图片" onclick="javascrtpt:window.location.href='bookImgShowSJ'" />
				<input style="background-color: palegreen" type="button" value="查看计算机网络图片" onclick="javascrtpt:window.location.href='bookImgShowWL'" />
			</tr>
</div>
		</body>
</html>
